package com.csx.base.core.jvm;


/**
 * <p> what does this class do ? </p>
 * <p> How does it work ?</p>
 * <p> Why does it do this ?</p>
 *
 * @author cuisongxu
 * @date 2024/12/31 周二 14:20
 */
public class TestClassLoader {

    public static void main(String[] args) {
        User user = new User();
        ClassLoader classLoader = user.getClass().getClassLoader();
        System.out.println(classLoader.getClass().getClassLoader());

        System.out.println(classLoader.getParent());

        System.out.println(classLoader.getParent().getParent());
    }


    static class User {

    }
}
